package sk.mka.phd.timit;

import sk.mka.phd.timit.maven.TimitConfig;

/**
 *
 * @author katrami
 * @date Dec 10, 2010
 */
public class AbstractSimplify {

    protected TimitConfig config = TimitConfig.getInstance();
    protected String inputFolder = getInputDirectory(config.dir);
    protected String phonemeReduction = getInputDirectory(config.phonemeReduction);
    protected String phonemeDistribution = getInputDirectory(config.phonemeDistribution);

    protected static String getInputDirectory(final String value) {
        final String absPath = System.getProperty("user.dir");
        final String finalPath = absPath + "/" + value;
        return finalPath;
    }
}
